package org.jeecg.modules.demo.erp.DepotItem.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: jsh_depot_item
 * @Author: jeecg-boot
 * @Date:   2024-07-28
 * @Version: V1.0
 */
@Data
@TableName("jsh_depot_item")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="jsh_depot_item对象", description="jsh_depot_item")
public class JshDepotItem implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.Integer id;
	/**表头Id*/
	@Excel(name = "表头Id", width = 15)
    @ApiModelProperty(value = "表头Id")
    private java.lang.Integer headerId;
	/**商品Id*/
	@Excel(name = "商品Id", width = 15)
    @ApiModelProperty(value = "商品Id")
    private java.lang.Integer materialId;
	/**商品扩展id*/
	@Excel(name = "商品扩展id", width = 15)
    @ApiModelProperty(value = "商品扩展id")
    private java.lang.Integer materialExtendId;
	/**商品计量单位*/
	@Excel(name = "商品计量单位", width = 15)
    @ApiModelProperty(value = "商品计量单位")
    private java.lang.String materialUnit;
	/**多属性*/
	@Excel(name = "多属性", width = 15)
    @ApiModelProperty(value = "多属性")
    private java.lang.String sku;
	/**数量*/
	@Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "数量")
    private java.math.BigDecimal operNumber;
	/**基础数量，如kg、瓶*/
	@Excel(name = "基础数量，如kg、瓶", width = 15)
    @ApiModelProperty(value = "基础数量，如kg、瓶")
    private java.math.BigDecimal basicNumber;
	/**单价*/
	@Excel(name = "单价", width = 15)
    @ApiModelProperty(value = "单价")
    private java.math.BigDecimal unitPrice;
	/**采购单价*/
	@Excel(name = "采购单价", width = 15)
    @ApiModelProperty(value = "采购单价")
    private java.math.BigDecimal purchaseUnitPrice;
	/**含税单价*/
	@Excel(name = "含税单价", width = 15)
    @ApiModelProperty(value = "含税单价")
    private java.math.BigDecimal taxUnitPrice;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private java.math.BigDecimal allPrice;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**仓库ID*/
	@Excel(name = "仓库ID", width = 15)
    @ApiModelProperty(value = "仓库ID")
    private java.lang.Integer depotId;
	/**调拨时，对方仓库Id*/
	@Excel(name = "调拨时，对方仓库Id", width = 15)
    @ApiModelProperty(value = "调拨时，对方仓库Id")
    private java.lang.Integer anotherDepotId;
	/**税率*/
	@Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "税率")
    private java.math.BigDecimal taxRate;
	/**税额*/
	@Excel(name = "税额", width = 15)
    @ApiModelProperty(value = "税额")
    private java.math.BigDecimal taxMoney;
	/**价税合计*/
	@Excel(name = "价税合计", width = 15)
    @ApiModelProperty(value = "价税合计")
    private java.math.BigDecimal taxLastMoney;
	/**商品类型*/
	@Excel(name = "商品类型", width = 15)
    @ApiModelProperty(value = "商品类型")
    private java.lang.String materialType;
	/**序列号列表*/
	@Excel(name = "序列号列表", width = 15)
    @ApiModelProperty(value = "序列号列表")
    private java.lang.String snList;
	/**批号*/
	@Excel(name = "批号", width = 15)
    @ApiModelProperty(value = "批号")
    private java.lang.String batchNumber;
	/**有效日期*/
	@Excel(name = "有效日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "有效日期")
    private java.util.Date expirationDate;
	/**关联明细id*/
	@Excel(name = "关联明细id", width = 15)
    @ApiModelProperty(value = "关联明细id")
    private java.lang.Integer linkId;
	/**租户id*/
	@Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private java.lang.Integer tenantId;
	/**删除标记，0未删除，1删除*/
	@Excel(name = "删除标记，0未删除，1删除", width = 15)
    @ApiModelProperty(value = "删除标记，0未删除，1删除")
    private java.lang.String deleteFlag;
}
